﻿@model IEnumerable<QuanLyGiaoVuUI.Models.GiangVien.BanTinGiangVienViewModel>

@{
    Layout = null;
}
<style>
    .wrapper {
width: 100%;
overflow: hidden;
}
    .date {
float: left;
width: 72px;
height: 50px;
background: url(@Url.Content("~/Content/themes/clientsv/images/date.gif")) 0 0 no-repeat;
margin-right: 14px;
font-size: 34px;
line-height: 1.2em;
padding-top: 22px;
text-align: center;
}
    .pad_top2 {
padding-top: 7px;
font-family: Molengo;
}
    .linknews {
text-decoration: none;
font-weight: bold;
color: #13213B;
}
    .button span span {
background: url(@Url.Content("~/Content/themes/clientsv/images/button1_right.gif")) top right no-repeat;
padding: 0 25px;
height: 42px;
}
    .button {
display: inline-block;
color: white;
background: url(@Url.Content("~/Content/themes/clientsv/images/button1_bg.gif")) 0 0 repeat-x;
line-height: 40px;
text-decoration: none;
cursor: pointer;
}
    .button span {
display: block;
background: url(@Url.Content("~/Content/themes/clientsv/images/button1_left.gif")) 0 0 no-repeat;
}
</style>
<div>
    @foreach (QuanLyGiaoVuUI.Models.GiangVien.BanTinGiangVienViewModel viewModel in Model)
    {        
        <div class="wrapper">
            <span class="date">@viewModel.NgayThem.Day</span>
            <p class="pad_top2">
                <span>@viewModel.NgayThem</span><br>
                <a class="linknews" href="/GiangVienClient/ChiTietBanTin/@viewModel.ID">@viewModel.TieuDe</a>
            </p>
        </div>
        <a href="/GiangVienClient/ChiTietBanTin/@viewModel.ID" class="button"><span><span>Chi tiết...</span></span></a>
        <hr />
    }
</div>